package com.ruoyi.project.business.mapper;



import java.util.List;

import com.ruoyi.project.business.domain.BusinessNotice;



/**

 * 通知公告Mapper接口

 * 

 * @author ruoyi

 * @date 2020-10-20

 */

public interface BusinessNoticeMapper 

{

    /**

     * 查询通知公告

     * 

     * @param id 通知公告ID

     * @return 通知公告

     */

    public BusinessNotice selectBusinessNoticeById(Long id);



    /**

     * 查询通知公告列表

     * 

     * @param businessNotice 通知公告

     * @return 通知公告集合

     */

    public List<BusinessNotice> selectBusinessNoticeList(BusinessNotice businessNotice);



    /**

     * 新增通知公告

     * 

     * @param businessNotice 通知公告

     * @return 结果

     */

    public int insertBusinessNotice(BusinessNotice businessNotice);



    /**

     * 修改通知公告

     * 

     * @param businessNotice 通知公告

     * @return 结果

     */

    public int updateBusinessNotice(BusinessNotice businessNotice);



    /**

     * 删除通知公告

     * 

     * @param id 通知公告ID

     * @return 结果

     */

    public int deleteBusinessNoticeById(Long id);



    /**

     * 批量删除通知公告

     * 

     * @param ids 需要删除的数据ID

     * @return 结果

     */

    public int deleteBusinessNoticeByIds(Long[] ids);

}
